package ${package}.domain;

import com.flkin.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Table;
<#if hasDate>
import java.util.Date;
</#if>

/**
 * @author ${author} ${date}
 */
@Entity
@Table(name = "${tableName}")
@Getter
@Setter
public class ${className} extends BaseEntity {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

<#if columns??>
    <#list columns as column>

    <#if column.remark??>
    /** ${column.remark} */
    </#if>
    private ${column.type} ${column.name};
    </#list>
</#if>

}
